package com.demo.netty.mulport;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import io.netty.channel.Channel;
import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

public class ChannelsManager {
	
    private  ChannelGroup channelGroup = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);
    
    private Map<Integer, Integer> mapUserChannel = new ConcurrentHashMap<Integer, Integer>();
    
    
    public Channel getChannelByUserId(int userId){
    	return null;
    }
    
    
    public int getUserChannelType(){
    	return 0;
    }
    
    
    


}
